<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
	<div class="container">
		<div>
			<h1>水库防汛预警系统</h1>
			<form action="list" method="post">
				平均雨量：<input type="text" name="avgRain" value="">
				下雨时长：<input type="text" name="timeOfRain" value="">
				<input type="submit" value="开始评估">
			
			</form>
			<table border="1px">
				<tr>
					<td>编号</td>
					<td>水库名称</td>
					<td>所在村</td>
					<td>承雨面积</td>
					<td>最大安全库容</td>
					<td>坝型</td>
					<td>坝长</td>
					<td>坝高</td>
					<td>现库容</td>
					<td>泄洪量</td>
					<td>状态</td>
					<td>
						操作
					</td>
				</tr>
				<c:forEach items="${info.list }" var="d">
						<tr>
							<td>${d.id }</td>
							<td>${d.name }</td>
							<td>${d.address }</td>
							<td>${d.rainArea }</td>
							<td>${d.volumeTotal }</td>
							<td>${d.typeId }</td>
							<td>${d.length }</td>
							<td>${d.high }</td>
							<td>${d.volumeNow }</td>
							<td>${d.volumeDischarge }</td>
							<td>${d.status}</td>
							<td>
								<a>更新</a>
								<a>删除</a>
							</td>						
						</tr>
				
				</c:forEach>
			</table>
		</div>
	
	</div>
		
	
</body>
</html>